#ifndef __nvs_H__
#define __nvs_H__
#include "main.h"


#if 1 
  #define nvs_DEBUG(format, args...) printf("[nvs]-");printf(format, ## args );
#else
  #define nvs_DEBUG(format, args...) ;
#endif


esp_err_t nvs_init(void);
void  nvs_test_task(void *pvParameter);
esp_err_t nvs_set_wifi(char *wifi_name,char *wifi_password);
esp_err_t nvs_get_wifi(char *wifi_name,char *wifi_password);
#endif